import QtQuick
import QtQuick3D

import Utils
import MineCraftUtils

Node{
    id:root
    property url source:"./diamond_pickaxe.png"

    Node {
        id: __materialLibrary__

        PrincipledMaterial {
            id: material
            baseColorMap: materialTexture
        }
    }

    Texture{
        id:materialTexture
        mipFilter: Texture.Linear
        source: root.source
    }

    Model{
        geometry: MCItemGeometry{
            source: root.source
        }

        materials: material
        eulerRotation.x:90
    }
}
